<!DOCTYPE html>

<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>HTTP请求</title>
        <link rel="stylesheet" href="/css/parse.css">
    </head>
    <body>

    <h3>访问ParseRequestServlet</h3>

        <a href="/parse/request">链接1</a>
        <a href="/parse/req">链接2</a>
        <a href="/parse-req">链接3</a>

        <hr>

        <a href="/parse/request?id=e=nashui&g250&namender=male">链接4</a>
        <a href="/parse/req?id=250&name=nashui&gender=male">链接5</a>
        <a href="/parse-req?id=250&name=nashui&gender=male">链接6</a>

        <hr>

        <h5>以GET方式将表单提交给parseRequestServlet </h5>
        <form action="/parse/request" method="get">
            <input type="text" name="username" placeholder="输入用户名">
            <input type="password" name="password" placeholder="输入密码">
            <input type="submit" value="提交">
        </form>

        <hr>

        <h5>以POST方式将表单提交给parseRequestServlet </h5>
        <form action="/parse/request" method="post">
            <input type="text" name="username" placeholder="输入用户名">
            <input type="password" name="password" placeholder="输入密码">
            <input type="submit" value="提交">
        </form>
    </body>
</html>